import request from "@/utils/request.js";

export function staffList(data) {
	return request.post("spice/index", data);
 }
export function getTiaopei(id) {
	return request.post("spice/getTiaopei", {id});
}



export function createTiaopei(data) {
	return request.post("/spice/tiaopei", data);
}
export function confirm(data) {
	return request.post("/spice/confirm", data);
}
export function copyStaff(data) {
	return request.post("/spice/copyStaff", data);
}
export function my(data) {
	return request.post("hash/manage", data);
}
export function search(data) {
	return request.post("/spice/search", data);
}
export function doChangeHash(id){
	return request.post("/staff/change", {id});
}
export function getTiaopeiByHash(code) {
	return request.post("/spice/getTiaopeiHash", {code});
}
export function checkCount() {
	return request.post("/spice/checkCount", {});
}
export function bind(order_id) {
	return request.post("/spice/bind", {order_id});
}
export function modifyName(data) {
	return request.post("/spice/modifyName", data);
}